import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入全局公共样式
import './assets/css/base.css'
import './assets/css/reset.css'

// // 全局引入swiper
import VAS from 'vue-awesome-swiper'
import 'swiper/css/swiper.css'
Vue.use(VAS)


// 全局注入axios
// import axios from 'axios'
// import VueAxios from 'vue-axios' // npm i vue-axios
// // 设置发请求的基础路径
// axios.defaults.baseURL='http://localhost:3500'
// Vue.use(VueAxios, axios)


// 全局引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
